<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\Route;

// get  获取数据
// post 新增数据
// put  更新
// delete 删除
//
//Route::get('api/entry_data', 'api/index/entryList');    // 首页数据
//Route::get('api/goods_list', 'api/goods/goodsList');    // 商品列表
//Route::get('api/category_list', 'api/goods/categoryList');  // 分类列表
//Route::get('api/goods_info', 'api/goods/goodsInfo');        // 商品详情
//Route::post('api/cart', 'api/cart/addInCart');              // 添加购物车
//Route::get('api/cart_num', 'api/cart/getCartNum');          // 购物车数量
//Route::get('api/cart_list', 'api/cart/getCartList');        // 获取购物车商品列表
//Route::put('api/cart_item', 'api/cart/changeItemSelected');  // 改变购物车商品状态
//Route::put('api/cart_item_num', 'api/cart/changeItemNum');      // 改变购物车数量
//
//Route::get('api/article_list', 'api/article/getArticleList');      // 获取文章列表
//Route::get('api/article_details', 'api/article/getArticleDetails');      // 获取文章详情
//Route::post('api/coll_article', 'api/article/collArticle');      // 收藏文章
//Route::put('api/click', 'api/article/clickArticle');      // 点赞
//Route::delete('api/uncoll_article', 'api/article/uncollArticle');      // 取消收藏文章
//Route::post('api/add_comment', 'api/article/addComment');      // 评论
//Route::get('api/comment', 'api/article/commentList');      // 评论列表